<!DOCTYPE html>
<html xmlns:th="https://www.thymeleaf.org/" lang="zh">

<head th:replace="common/commonSrc :: commonHead(~{::title},~{::link},~{::style})">
    <title>仪表盘</title>
    <link rel="stylesheet" href="/adminNav/style.css">
    <link rel="stylesheet" href="/adminNav/font-awesome.css">
    <link rel="stylesheet" href="/alert/message.css">
    <style>

    </style>
</head>
<body>
<div th:replace="common/commonSrc :: commonContent"></div>

<nav th:replace="common/adminSrc :: navHead"></nav>

<!--数据表格-->
<div class="container-fluid" style="position: relative;top: 50px">
    <div class="row">
        <div class="col-md-10 col-md-offset-1">
            <div class="table-responsive">
                <img src="/images/background/book.png" class="img-responsive" style="width: 100%" alt="">
                <div id="dataTable"></div>
            </div>
        </div>
    </div>
    <div class="row">
        <div style="height: 100px"></div>
    </div>
</div>

<!--修改模态框-->
<div class="modal fade" id="modifyModel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="modifyModelLabel">修改设置#1</h4>
            </div>
            <form id="form_data" class="form-horizontal">
                <div class="modal-body">
                    <div class="form-group">
                        <label for="optionKey" class="col-sm-2 control-label">键</label>
                        <div class="col-sm-10">
                            <input type="hidden" class="form-control" id="optionId" placeholder="设置项的唯一键">
                            <input type="text" class="form-control" id="optionKey" placeholder="设置项的唯一键">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="optionValue" class="col-sm-2 control-label">值</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="optionValue" placeholder="设置项的值">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="optionRemarks" class="col-sm-2 control-label">备注</label>
                        <div class="col-sm-10">
                            <textarea class="form-control" rows="3" id="optionRemarks"></textarea>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                    </button>
                    <button type="button" onclick="tableSubmit()" class="btn btn-success">
                        保存
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--信息提示模态框-->
<div class="modal fade" id="confirmModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 id="confirmTitle" class="modal-title">提示标题</h4>
            </div>
            <div class="modal-body">
                <span id="confirmMessage" style="color: #000000">带颜色的提示信息</span>
                <input id="confirmId" type="hidden">
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button id="confirmButton" type="button" class="btn btn-danger">
                    确定
                </button>
            </div>
        </div>
    </div>
</div>

<nav th:replace="common/commonSrc :: commonNavFoot(~{})"></nav>


</body>
<div th:replace="common/commonSrc :: commonFoot(~{::script})">
    <script type="text/javascript" th:src="@{/alert/message.js}"></script>
    <script type="text/javascript">

        const findListHtml = getRootPath() + '/admin/userManager/findListHtml';//模板查询

        $(function () {
            tableInit(findListHtml);
        });
    </script>
</div>
<div th:replace="common/tableSrc :: hoverTableFoot"></div>
<div th:replace="common/adminSrc :: adminFood"></div>

</html>